package io.aircraft.modules.wms.service;

import io.aircraft.common.service.CrudService;
import io.aircraft.modules.wms.dto.OrderDetailDTO;
import io.aircraft.modules.wms.entity.OrderDetailEntity;

import java.util.List;

/**
 * 出库明细
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-11-16
 */
public interface OrderDetailService extends CrudService<OrderDetailEntity, OrderDetailDTO> {
    List<OrderDetailEntity> getDetailByOrderId(Long id);
    List<OrderDetailDTO> getDetailByOrderId(Long orderId,List<OrderDetailDTO> all);
    List<OrderDetailDTO> getAllDetail();
    int batchSave(List<OrderDetailDTO> dtoList);
}